<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');

/*******************************************************************************/
// Phần backend-routing, không cần thay đổi cho các dự án của khách hàng
// chỉ thay đổi trong những trường hợp thực sự cần thiết
/*******************************************************************************/
// back end
$route['^dashboard/supports$']                     = 'supports/supports_admin/dispatcher/list_supports/vi';
$route['^dashboard/supports/(\w{2})$']             = 'supports/supports_admin/dispatcher/list_supports/$1';
$route['^dashboard/supports/add$']                 = 'supports/supports_admin/dispatcher/add_support';
$route['^dashboard/supports/edit$']                = 'supports/supports_admin/dispatcher/edit_support';
$route['^dashboard/supports/delete$']              = 'supports/supports_admin/delete_support';

//ajax
$route['supports/sort']                             = 'supports/supports_admin/sort_support';
/*******************************************************************************/
// Kết thúc phần backend-routing
/*******************************************************************************/